/**
 * All function javascript call here
 */

$('.datepicker').datepicker({
    format: 'mm/dd/yyyy'
});


/**
 * Submit from id with action
 * @param fromId
 * @param actionName
 */
function submitAction(fromId, actionName) {
	$("#" + fromId).attr('action', actionName);
	$("#" + fromId).attr('method', 'POST');
	$("#" + fromId).submit();
}